cmake_minimum_required(VERSION 3.15)
project(eigen_test)

set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/bin)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/bin)
set(CMAKE_CXX_STANDARD 11)

# add_executable(${PROJECT_NAME})

# target_link_libraries(${PROJECT_NAME}
#   PRIVATE
#   pthread
#   )

# target_sources(${PROJECT_NAME}
#   PUBLIC
#   ${CMAKE_CURRENT_LIST_DIR}/main.cpp
#   ${CMAKE_CURRENT_LIST_DIR}/can_utils.c
#   ${CMAKE_CURRENT_LIST_DIR}/socket_can.cpp
#   )

#包含eigen库
include_directories(${CMAKE_CURRENT_LIST_DIR}/eigen)


# SET(SRC
#     demo/test.cpp
# )

add_executable(test   demo/test.cpp )
add_executable(test_tensor   demo/test_tensor.cpp )